package com.example.webservice;

import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 * @author zhouxl
 * @DATE 2020/12/24
 * @descriptoin
 */
@WebService(
        serviceName = "CommonService",
        targetNamespace = "http://webservice.example.com",
        endpointInterface = "com.example.webservice.CommonService"
)
@Component
public class CommonServiceImpl implements CommonService {
    @Override
    public String sayHello(String name) {
        return "hello," + name;
    }
}
